import { DEFAULT_LAYOUT } from '../base'
import { AppRouteRecordRaw } from '../types'
const Agreement: AppRouteRecordRaw = {
  path: '/account',
  name: 'account',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: 'CRM',
    icon: 'icon-user',
    requiresAuth: true,
    order: 3,
  },
  children: [
    {
      path: '/account/list',
      name: 'accountList',
      component: () => import('@/views/account/list.vue'),
      meta: {
        locale: '用户列表',
        requiresAuth: true,
        roles: ['*'],
      },
    },
  ],
}

export default Agreement
